// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Animation/AnimInstance.h"
#include "EmyAnimInstance.generated.h"

class AEmyCharacter;
class UCharacterMovementComponent;
/**
 * 
 */
UCLASS()
class TIANZHU_API UEmyAnimInstance : public UAnimInstance
{
	GENERATED_BODY()

public:
	virtual void NativeInitializeAnimation() override;
	virtual void NativeUpdateAnimation(float DeltaTime) override;

	UPROPERTY(BlueprintReadOnly)
	TObjectPtr<AEmyCharacter> EmyPlayer;

	UPROPERTY(BlueprintReadOnly)
	TObjectPtr<UCharacterMovementComponent> EmyMove;

	UPROPERTY(BlueprintReadOnly)
	float Speed;
};
